package com.ai5suoai.ams.entity;

import javax.validation.constraints.NotNull;

/**
 * @author chenzhenjia
 * @since 2016/3/18
 */
public class TestBean {

    private String name;

    @NotNull(message = "{name.not.null}")
    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "TestBean{" +
                "name='" + name + '\'' +
                '}';
    }

    public void setName(String name) {
        this.name = name;
    }
}
